package com.example.ears;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * 项目启动类
 *
 * @author zengyz
 * @date 2018-04-20
 */
@SpringBootApplication
public class EarsApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(EarsApplication.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(EarsApplication.class);
    }
}
